<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="../../../common/taglib.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<sfa:mainTitle></sfa:mainTitle>
		<%@ include file="../../../common/meta.jsp"%>
<script type="text/javascript">
$(function() {
	//加载待处理业务数 
	$.ajax( {
		url : "${path}/team/train/index/gettraininfo?type=1",
		type : 'POST',
		datatype : 'json',
		success : function(result) {
			$("#TEAMCOUNT").html(result[0].TEAMCOUNT);
			$("#GROUPCOUNT").html(result[0].GROUPCOUNT);
			$("#DEPTCOUNT").html(result[0].DEPTCOUNT);
			$("#QUALIFICOUNT").html(result[0].QUALIFICOUNT);
			$("#UNQUALIFICOUNT").html(result[0].UNQUALIFICOUNT);
			$("#QUALIFIRATE").html(result[0].QUALIFIRATE);
			$("#HIRECOUNT").html(result[0].HIRECOUNT);
			$("#DISMISSCOUNT").html(result[0].DISMISSCOUNT);
		}
	});
	$.ajax( {
		url : "${path}/team/train/index/gettraininfo?type=2",
		type : 'POST',
		datatype : 'json',
		success : function(result) {
			$("#ACTIVITYCOUNT").html(result[0].ACTIVITYCOUNT);
			$("#TEAMRATE").html(result[0].TEAMRATE);
			$("#OMRATE").html(result[0].OMRATE);
		}
	});
});
</script>		
	</head>
	<body id="master">
		<sfa:mainHeader></sfa:mainHeader>
		<form action="" name="form1" method="post">
			<div class="webpart3 contentarea">
				<div class="webpart-head">
					<div class="webpart-head-item">
						育成统计信息
					</div>
				</div>
				<div class="webpart-main" id="maindiv">
					<div class="webpart-main-item" style="padding-top: 12px;">
						<div class="webpart-head">
							<div class="webpart-head-item">
								育成统计
							</div>
						</div>

						<table id="mytable" cellpadding="0" cellspacing="0"
							class="dg_borderstyle  trStyleTable"
							style="margin-top: 0px; text-align: center;">
							<tr>
								<th>
									<span class="emp">团队总人数</span>
								</th>
								<th>
									<span class="emp">组人数</span>
								</th>
								<th>
									<span class="emp">处人数</span>
								</th>
								<th>
									<span class="emp">持证人数</span>
								</th>
								<th>
									<span class="emp">未持证人数</span>
								</th>
								<th>
									<span class="emp">持证率</span>
								</th>
								<th>
									<span class="emp">当月签约人数</span>
								</th>
								<th>
									<span class="emp">当月解约人数</span>
								</th>
							</tr>
							<tr>
								<td>
									<span class="emp"><a
										href="${path}/team/train/index/agentteamlist?optype=train&levelby=0&dotype=team">
											<em id="TEAMCOUNT"><img src="${path}/images/059.gif"
													style="width: 10px; height: 10px;" /> </em>
									</a> </span>
								</td>
								<td>
									<span class="emp"><a
										href="${path}/team/train/index/agentteamlist?optype=train&levelby=0&dotype=group">
											<em id="GROUPCOUNT"><img src="${path}/images/059.gif"
													style="width: 10px; height: 10px;" /> </em>
									</a> </span>
								</td>
								<td>
									<span class="emp"><a
										href="${path}/team/train/index/agentteamlist?optype=train&levelby=0&dotype=dept">
											<em id="DEPTCOUNT"><img src="${path}/images/059.gif"
													style="width: 10px; height: 10px;" /> </em>
									</a> </span>
								</td>
								<td>
									<span class="emp"><a
										href="${path}/team/train/index/agentteamlist?optype=train&levelby=0&dotype=qualifi">
											<em id="QUALIFICOUNT"><img src="${path}/images/059.gif"
													style="width: 10px; height: 10px;" /> </em>
									</a> </span>
								</td>
								<td>
									<span class="emp"><a
										href="${path}/team/train/index/agentteamlist?optype=train&levelby=0&dotype=unqualifi">
											<em id="UNQUALIFICOUNT"><img
													src="${path}/images/059.gif"
													style="width: 10px; height: 10px;" /> </em>
									</a> </span>
								</td>
								<td>
									<span class="emp"><em id="QUALIFIRATE"><img
												src="${path}/images/059.gif"
												style="width: 10px; height: 10px;" /> </em>
									</span>
								</td>
								<td>
									<span class="emp"><a
										href="${path}/team/train/index/agentteamlist?optype=train&levelby=0&dotype=hire">
											<em id="HIRECOUNT"><img src="${path}/images/059.gif"
													style="width: 10px; height: 10px;" /> </em>
									</a> </span>
								</td>
								<td>
									<span class="emp"><a
										href="${path}/team/train/index/agentteamlist?optype=train&levelby=0&dotype=dismiss">
											<em id="DISMISSCOUNT"><img src="${path}/images/059.gif"
													style="width: 10px; height: 10px;" /> </em> </a> </span>
								</td>
							</tr>							
						</table>					

						<br />
						<div class="webpart-head">
							<div class="webpart-head-item">
								团队活动情况
							</div>
						</div>
						<table id="mytable" cellpadding="0" cellspacing="0"
							class="dg_borderstyle  trStyleTable"
							style="margin-top: 0px; text-align: center;">
							<tr>
								<th>
									<span class="emp">当月有效人力</span>
								</th>
								<th>
									<span class="emp">团队活动率</span>
								</th>
								<th>
									<span class="emp">主管活动率</span>
								</th>
							</tr>
							<tr>
								<td>
									<span class="emp"><a
										href="${path}/team/train/index/agentteamlist?optype=train&levelby=0&dotype=activity">
											<em id="ACTIVITYCOUNT"><img src="${path}/images/059.gif"
													style="width: 10px; height: 10px;" /> </em> </a> </span>
								</td>
								<td>
									<span class="emp"><em id="TEAMRATE"><img
												src="${path}/images/059.gif"
												style="width: 10px; height: 10px;" /> </em>
									</span>
								</td>
								<td>
									<span class="emp"><em id="OMRATE"><img
												src="${path}/images/059.gif"
												style="width: 10px; height: 10px;" /> </em>
									</span>
								</td>
							</tr>							
						</table>
					</div>
				</div>
				<div class="webpart-foot">
					<div class="webpart-foot-item">
					</div>
				</div>
			</div>

		</form>
		<sfa:mainFooter></sfa:mainFooter>
	</body>
</html>
